package util

import (
	"encoding/json"
	"statsphere/pb"
	"statsphere/pkg/emqx"
)

func pushLog(ruleCtrlLog *pb.RuleCtrlLog) {
	jsonData, _ := json.Marshal(ruleCtrlLog)
	go emqx.PushMqttData(jsonData)
}
